/*
 * @Description: 
 * @version: 
 * @Company: 
 * @Author: GeYang
 * @Date: 2019-11-09 08:34:45
 * @LastEditors: 
 * @LastEditTime: 2019-11-12 16:28:13
 */
var a = 1;
var b = 2;
var c = null;
if (a > b) {
    console.log("a大于b");
} else {
    console.log("a小于b");
}

c = a < b ? 'sadasd' : a < b ? 'sadas' : 'sasdasd';

// 逗号运算符
var a = 1, b = 2;

var b = ( 3 ,4 ,5 ,5 ,5 ,5 , 1); //b = 0;

console.log(b);
